package com.woniu.cinema.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 用户想看的电影对象 tb_user_want_movie
 * 
 * @author yy
 * @date 2023-09-27
 */
public class UserWantMovie extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 电影id */
    @Excel(name = "电影id")
    private Integer movieId;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMovieId(Integer movieId) 
    {
        this.movieId = movieId;
    }

    public Integer getMovieId() 
    {
        return movieId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("movieId", getMovieId())
            .toString();
    }
}
